<%@ page language="java" import=" com.scalar.chiptrack.utils.ConfigManager"%>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>

<chiptrack:checkLogon sourcePage="/operationCodeList.do"/>

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<SCRIPT language="JavaScript">

</SCRIPT>

<HTML><HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type=text/css rel=stylesheet>

<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY bgColor="#ffffff" leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">

<!-- Top Header Start-->

<%@ include file="/jsp/includes/header.jsp" %>

<!-- Top Header End-->

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
	<TD width='180' valign='top' background='<%=chipTracContext%>/jsp/includes/images/left_red_bg.gif'>

<!-- Side Navigation start -->

<%@ include file="/jsp/operations/dataentryMenu.jsp" %>

	</TD>
<!-- end of the side navigations -->

    <TD bgcolor="#ffffff">
    <IMG height=9 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=8></TD>
    <TD bgcolor="#ffffff"><IMG height=480 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=2></TD>
    <TD valign="top" width="100%">

    <IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/clear.gif" width=500 border=0>
    <BR>
<!-- from here your body starts -->

    <center><span class="NArialW">Operation Code Details</span></center>
    <img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=20>

    <html:form name="operationCode_List"  type="com.scalar.chiptrack.operations.dataentry.forms.OperationCodeEntryForm" action="/operationCodeList" >
    <table border="0" width="90%" align=right>
    <tr><td>
        <chiptrack:info styleClass="NArialL" /></td>
    </tr>
    <tr><td><chiptrack:errors styleClass="NArialL" /></td>
    </tr>
    <tr><td><img height=10 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif"></td></tr>
    <tr>
        <td>
  	        <table border="0" width="100%" bordercolor="#FFFFFF" align=right>
	            <tr>
                    <td class="NArialL" colspan=4>To add a new Operation Code, please <html:link page="/operationCodeEntry.do" onmouseover="window.status='Click to Add New Operation Code';return true" onmouseout="window.status='';return true">click here</html:link>
                    </td>
                </tr>
	            <tr>
                    <td class="NArialL" colspan=4><IMG src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=10></td>
                </tr>
                <tr>
                    <td width="15%" align="center" bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">Operation Code</font></td>
                    <td width="17%" align="center" bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">Process</font></td>
                    <td width="17%" align="center" bgcolor="#993333"><font class="NArialL"><font color="#FFFFFF">Actions</font></font></td>
                    <td width="10%" align="center">&nbsp;</td>
                </tr>

                <nested:iterate id="oprCode" name="operationCodeEntryform" property="oprCodeList" indexId="iterateIdx" type= "com.scalar.chiptrack.operations.dataentry.OperationCodes" >
                <% if( Integer.parseInt( iterateIdx.toString() ) % 2 == 0 ) { %>
		            <tr bgcolor='#FFFFEE'>
		            <%} else { %>
		            <tr bgcolor='#DEE1E2'>
		            <% } %>
                     <td width="15%" align="center"><font class="NArialL"><bean:write name="oprCode" property="operationCode" /></font></td>
                     <td width="17%" align="center"><font class="NArialL"><bean:write name="oprCode" property="processType" /></font></td>
                     <td width="17%" align="center"><font class="NArialL"><a href="<%=chipTracContext%>/operationCodeList.do?action=view&oprCode=<bean:write name="oprCode" property="operationCode" />" onmouseover="window.status='Click to View Operation Code Details';return true" onmouseout="window.status='';return true">View</a>&nbsp;&nbsp;&nbsp;
                        <font class="NArialL"><a href="<%=chipTracContext%>/operationCodeList.do?action=modify&oprCode=<bean:write name="oprCode" property="operationCode" />" onmouseover="window.status='Click to Modify Operation Code Details';return true" onmouseout="window.status='';return true">Modify</a></font>&nbsp;&nbsp;&nbsp;
                        <font class="NArialL"><a href="<%=chipTracContext%>/operationCodeList.do?action=delete&oprCode=<bean:write name="oprCode" property="operationCode" />" onmouseover="window.status='Click to Delete Operation Code Details';return true" onmouseout="window.status='';return true">Delete</a></font>&nbsp;
                     </td>
                    </tr>
                 </nested:iterate>
            </table>
    <!-- till here -->
    <BR><BR><BR></TD>
    <TD bgcolor="#ffffff"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
    </TR>
    </TABLE>
    </td>
    </tr>
</table>
<input type="hidden" name="action" value="">
</html:form>

<!-- Footer starts here -->

<%@ include file="/jsp/includes/footer.jsp" %>

<!-- footer end here -->

</BODY>
</HTML>
